package com.ruoyi.system.service;

import com.ruoyi.common.core.domain.entity.InChart;
import com.ruoyi.common.core.domain.entity.LeftoverInDetail;
import com.ruoyi.common.core.domain.entity.Series;

import java.util.List;

/**
 * 邊角料 业务层
 *
 * @author C3007106
 */
public interface ILeftoverInService {
    List<LeftoverInDetail> selectLeftoverInList(LeftoverInDetail leftoverInDetail);

    LeftoverInDetail selectLeftoverByTableId(String inId);

    int updateLeftoverIn(LeftoverInDetail leftoverInDetail);

    int insertLeftoverIn(LeftoverInDetail[] leftoverInDetails, String manage, String receive, String floor);

    int updateLeftoverInState(LeftoverInDetail leftoverInDetail);

    void updateLeftoverNum(LeftoverInDetail leftoverInDetail);

    void updateLeftoverInDetail(LeftoverInDetail leftoverInDetail);

    List<InChart> selectLeftoverInChart(LeftoverInDetail leftoverInDetail);

    List<String> selectMaterial();

    int[] selectData(String material);

    List<Series> handelData();

    int[] selectData1(String material);

    List<Series> handelData1();
}
